diff options
| author | real-zephex <[email protected]> | 2024-04-05 09:57:47 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-05 09:57:47 +0530 |
| commit | 381a1cb5c14270d9bdc8cd56f17c75d79df231de (patch) | |
| tree | 216f42d20165a2fbd349240f4fce6baa580324d3 /src/app/anime/[id]/[...animeId] | |
| parent | inmidst of rewriting the kdrama section. will complete it soon (diff) | |
| download | dramalama-381a1cb5c14270d9bdc8cd56f17c75d79df231de.tar.xz dramalama-381a1cb5c14270d9bdc8cd56f17c75d79df231de.zip | |
added caching and video player
Diffstat (limited to 'src/app/anime/[id]/[...animeId]')
| -rw-r--r-- | src/app/anime/[id]/[...animeId]/page.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/app/anime/[id]/[...animeId]/page.jsx b/src/app/anime/[id]/[...animeId]/page.jsx index 60c05ee..950f618 100644 --- a/src/app/anime/[id]/[...animeId]/page.jsx +++ b/src/app/anime/[id]/[...animeId]/page.jsx @@ -32,8 +32,8 @@ export default async function Video({ params }) { try { link = data.sources[3].url; } catch (error) { - redirect("/404"); console.log("Episode not found."); + redirect("/404"); } } @@ -47,7 +47,6 @@ export default async function Video({ params }) { <MediaPlayer title={words} src={link} - playsInline aspectRatio="16/9" load="eager" className={styles.VideoPlayer} |